﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System
{
    public static class ExtensionMethods
    {
        #region [ Double ]
        public static int SecondsToMilliseconds(this int time)
        {
            return time * 1000;
        }
        public static int MinutesToMilliseconds(this int time)
        {
            return (time * 60).SecondsToMilliseconds();
        }
        public static int HoursToMilliseconds(this int time)
        {
            return (time * 60).MinutesToMilliseconds();
        }
        #endregion [ Double ]
    }
}
